Platform Explorer / Nuxeo Platform 6.0

Component org.nuxeo.ecm.platform.mobile.application.definition.contribution

Contributions

XML Source

<component
  name="org.nuxeo.ecm.platform.mobile.application.definition.contribution">

  <extension target="org.nuxeo.ecm.application.definition.service"
    point="applicationDefinition">
    <application name="Mobile" order="5" disable="false">
      <applicationRelativePath>site/mobile</applicationRelativePath>
      <loginPage>/auth/login</loginPage>
      <logoutPage>/auth/logout</logoutPage>
      <requestHandlerName>MobileWithCookieRequestHandler</requestHandlerName>
      <resources>
        <resourcesBaseURL>site/skin/nuxeo</resourcesBaseURL>
      </resources>
    </application>
  </extension>

  <extension target="org.nuxeo.ecm.application.definition.service"
    point="requestHandlers">
    <requestHandler name="MobileWithCookieRequestHandler"
      disable="false">
      <implementation>org.nuxeo.ecm.mobile.handler.MobileWithCookieRequestHandler</implementation>
      <properties>
        <property name="urlSkippedPatterns">(.*)/img/(.*)|(.*)/icons/(.*)|(.*)/nxfile/(.*)|(.*)/nxbigfile/(.*)|(.*)/restAPI/preview/(.*)|(.*)\\.jsp(.*)</property>
      </properties>
    </requestHandler>
  </extension>

</component>